package com.gotloop.repositories;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.gotloop.jpa.Comment;
import com.gotloop.jpa.Loop;

public interface CommentRepository extends PagingAndSortingRepository<Comment,Long>, JpaRepository<Comment,Long>{

	List<Comment> findCommentByLoop(Loop loop);
	
}
